package top.shen33.yang.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * <p>
 * 回复
 * </p>
 *
 * @author oreilly
 * @since 2018-08-30
 */
public class EdoPostReply extends Model<EdoPostReply> {

private static final long serialVersionUID = 1L;


                @TableId(value = "sid", type = IdType.AUTO)
                
    private Integer sid;
    /**
     * 创建时间
     */

        
    @Excel(name = "创建时间",width = 20,orderNum = "0")
    private Date ctime;
    /**
     * 内容
     */

        
    @Excel(name = "内容",width = 20,orderNum = "0")
    private String txt;
    /**
     * 姓名
     */

        
    @Excel(name = "姓名",width = 20,orderNum = "0")
    private String userName;
    /**
     * 电话
     */

        
    @Excel(name = "电话",width = 20,orderNum = "0")
    private String userPhone;


    private  Integer postId;


    public Integer getPostId() {
        return postId;
    }

    public void setPostId(Integer postId) {
        this.postId = postId;
    }

    public Integer getSid() {
            return sid;
    }

    public void setSid(Integer sid) {
            this.sid = sid;
    }

    public Date getCtime() {
            return ctime;
    }

    public void setCtime(Date ctime) {
            this.ctime = ctime;
    }

    public String getTxt() {
            return txt;
    }

    public void setTxt(String txt) {
            this.txt = txt;
    }

    public String getUserName() {
            return userName;
    }

    public void setUserName(String userName) {
            this.userName = userName;
    }

    public String getUserPhone() {
            return userPhone;
    }

    public void setUserPhone(String userPhone) {
            this.userPhone = userPhone;
    }

    @Override
    protected Serializable pkVal() {
            return this.sid;
    }

    @Override
    public String toString() {
        return "EdoPostReply{" +
                ", sid=" + sid +
                ", ctime=" + ctime +
                ", txt=" + txt +
                ", userName=" + userName +
                ", userPhone=" + userPhone +
        "}";
    }
}
